* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Feb 2011 03:13:16 +0000 (19:13 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Feb 2011 03:13:16 +0000 (19:13 -0800)
commit5d9d31af70bd369be67ab0ebfae787ef4cfa8d2b
tree17155a7ae35ac9738d24d3baa1235570e28ab451
parent9c2c15e848a7b13253e6538eceabefd07d61c32a
* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.

Emacs assumes two's complement elsewhere, but the assumption is
easy to remove here, and this suppresses a warning with Sun C 5.8.
src/ChangeLog
src/xterm.c